<div id="right_conner">
    <div class="hotNews pane-module">
        <div class="module-head">要闻</div>
        {pc:content order="listorder DESC" action="position" posid="29"}
            {loop $data $key $val}
            {if $n === 1 }
            <h2 class="cDRed"><a href="{$val['url']}" target="_blank" title="{$val['title']}">{$val['title']}</a></h2>
            <ul class="subtit">
            {else}
                <li><a href="{$val['url']}" target="_blank" title="{$val['title']}">{$val['title']}</a></li>
            {/if}
            {/loop}
            </ul>
        {/pc}
        {pc:content order="listorder DESC" action="position" posid="30"}
            {loop $data $key $val}
            {if $n === 1 }
            <h2 class="cDRed"><a href="{$val['url']}" target="_blank" title="{$val['title']}">{$val['title']}</a></h2>
            <ul class="subtit">
            {else}
                <li><a href="{$val['url']}" target="_blank" title="{$val['title']}">{$val['title']}</a></li>
            {/if}
            {/loop}
            </ul>
        {/pc}
    </div>
    <div class="Advertisement">
        {//pc-list-右一}
        <div style="height:250px;overflow:hidden">
            <script type="text/javascript">var cpro_id = "u3093589";</script>
            <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
        </div>
    </div>
    <div id="paddingtop_last">
        <div class="news-struct bui-box">
            <div id="hotNewsWrap" class="bui-box">
                <div class="pane-module">
                    <div class="module-head">24小时热闻</div>
                    {pc:content order="listorder DESC" action="position" thumb="1" posid="18" num="4"}
                    <ul class="module-content article-list">
                    {loop $data $key $val}
                    <?php
                        $thumb_arr=explode('|',$val['thumb']);
                        $thumb=$thumb_arr[0];
                    ?>
                    <li class="article-item">
                        <a href="{$val['url']}" target="_blank" class="news-link">
                            <div class="module-pic news-pic"><img src="{$thumb}" lazy="loaded"></div>
                            <div class="news-inner">
                                <p class="module-title">{$val['title']}</p>
                            </div>
                        </a>
                    </li>
                    {/loop}
                    </ul>
                    {/pc}
                </div>
            </div>
        </div>
        <div class="Advertisement" style="margin-top:15px">
            {//pc-list-右二}
            <div style="height:250px;overflow:hidden">
                <script type="text/javascript">var cpro_id = "u3093593";</script>
                <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
            </div>
        </div>
    </div>
    <div class="news-struct bui-box">
        <div id="hotNewsWrap" class="bui-box">
            <div class="pane-module">
            <div class="module-head">热门推荐</div>
            {pc:content order="listorder DESC" action="position" thumb="1" posid="19" num="4"}
            <ul class="video-list">
                {loop $data $key $val}
                 <?php
                    $thumb_arr=explode('|',$val['thumb']);
                    $thumb=$thumb_arr[0];
                ?>
                <li class="video-item">
                    <a target="_blank" href="{$val['url']}">
                    <dl>
                        <dt class="module-pic">
                            <img alt="{$val['title']}" src="{$thumb}">
                        </dt>
                        <dd>
                            <div class="cell">
                                <h4>{$val['title']}</h4>
                            </div>
                        </dd>
                    </dl>
                    </a>
                </li>
                {/loop}
            </ul>
            {/pc}
            </div>
        </div>
    </div>
    <div class="Advertisement">
        {//pc-list-右三}
        <div style="height:250px;overflow:hidden">
            <script type="text/javascript">var cpro_id = "u3093593";</script>
            <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
        </div>
    </div>
    <div class="pane-module">
        <div class="module-head">精彩图片</div>
        {pc:content action="position" thumb="1" posid="20" order="listorder DESC" num="4"}
        <ul class="module-content bui-box picture-list">
        {loop $data $key $val}
        <?php
            $thumb_arr=explode('|',$val['thumb']);
            $thumb=$thumb_arr[0];
        ?>
        <li class="bui-left picture-item">
            <a href="{$val['url']}" target="_blank" class="link">
                <div class="module-pic picture-img"><img style="width:100%;" alt="{$val['title']}" src="{$thumb}" lazy="loading"></div>
                <p>{$val['title']}</p>
            </a>
        </li>
        {/loop}
        </ul>
        {/pc}
    </div>
    <div class="pane-module">
        <div class="module-head">友情链接</div>
        {pc:link action="type_list" siteid="$siteid" linktype="1" order="listorder DESC" num="8" return="pic_link"}
        <ul class="friend-links-content">
            {loop $pic_link $v}
            <li class="item"><a target="_blank" href="{$v['url']}">{$v['name']}</a></li>
            {/loop}
        </ul>
        {/pc}
    </div>
    <div class="company">
        <p class="J-company-name">© 2017 115头条</p>
    </div>
</div>
<script id="demo" type="text/html">
{{# layui.each(d, function(index,item){ }} 
{{# if(item.thumb === ''){ }}
<li class="listul" data-id="{{item.id}}">
<div class="item-inner y-box">
    <a class="link title" target="_blank" href="{{item.url}}">{{item.title}}</a>
</div>
<div class="y-box footer" style="font-size:14px;line-height:14px;color:#333">
    {{# if(item.copyfrom_name != ''){ }}
    <span style="display:inline-block;color:#999">&nbsp;{{item.copyfrom_name}}&nbsp;⋅</span>
    {{# } }}
    <span style="display:inline-block;color:#999">&nbsp;{{item.fake_hit}}阅读&nbsp;⋅</span>
    <span style="display:inline-block;color:#999">{{item.inputtime}}</span>
</div>
</li>
{{# }else if(item.thumb.length < 3){ }} <li data-id="{{item.id}}">
<div class="bui-box single-mode">
    <div class="bui-left single-mode-lbox">
        <a href="{{item.url}}" target="_blank" class="img-wrap"><img class="lazy-load-img" src="{{item.thumb[0] ? item.thumb[0] :''}}?x-oss-process=style/list" lazy="loaded"></a>
    </div>
    <div class="single-mode-rbox"><div class="single-mode-rbox-inner"><div ga_event="article_title_click" class="title-box"><a href="{{item.url}}" target="_blank" class="link" style="width:95%;overflow: hidden">{{item.title}}</a></div>
            <div class="y-box footer">
                <div class="y-left">
                    <div class="y-left">
                        {{# if(item.copyfrom_name != ''){ }}
                        <a style="color:#999" class="lbtn source" target="_blank">&nbsp;{{item.copyfrom_name}}&nbsp;⋅</a>
                        {{# } }}
                        <a style="color:#999" class="lbtn comment" target="_blank">&nbsp;{{item.fake_hit}}阅读&nbsp;⋅</a>
                    </div>
                    <span class="lbtn" style="color:#999">&nbsp;{{item.inputtime}}</span> 
                </div> 
            </div>
        </div>
    </div>
</div>
</li>
{{# }else{ }}
<li data-id="{{item.id}}">
    <div ga_event="gallery_item_click" class="more-mode">
        <div ga_event="gallery_title_click" class="title-box"><a href="{{item.url}}" target="_blank" class="link">{{item.title}}</a></div>
        <div ga_event="gallery_img_click" class="bui-box img-list">
            {{# layui.each(item.thumb, function(indexs,items){ }}
            <a href="{{item.url}}" target="_blank" class="img-wrap img-item"><img class="lazy-load-img" src="{{items}}?x-oss-process=style/list" lazy="loaded"></a> {{# })}}
        </div>
        <div class="y-box footer">
            <div class="y-left">
                <div class="y-left">
                    {{# if(item.copyfrom_name != ''){ }}
                    <a style="color:#999" class="lbtn source" target="_blank">&nbsp;{{item.copyfrom_name}}&nbsp;⋅</a> 
                    {{# } }}
                    <a style="color:#999" class="lbtn comment" target="_blank">&nbsp;{{item.fake_hit}}阅读&nbsp;⋅</a>
                </div>
                <span class="lbtn" style="color:#999">&nbsp;{{item.inputtime}}</span> 
            </div> 
        </div>
    </div>
</li>
{{# } }}

{{# }) }}
</script>